package com.quick.develop.business.convert;

import com.quick.develop.business.entity.EnvironmentalTargetEntity;
import com.quick.develop.business.vo.EnvironmentalTargetVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 环境指标目标任务
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface EnvironmentalTargetConvert {
    EnvironmentalTargetConvert INSTANCE = Mappers.getMapper(EnvironmentalTargetConvert.class);

    EnvironmentalTargetEntity convert(EnvironmentalTargetVO vo);

    EnvironmentalTargetVO convert(EnvironmentalTargetEntity entity);

    List<EnvironmentalTargetVO> convertList(List<EnvironmentalTargetEntity> list);

}